gtk4.git
6 years agoinspector: Show the pango backend
Matthias Clasen [Sun, 28 Jul 2019 15:39:16 +0000 (11:39 -0400)]
inspector: Show the pango backend

6 years agoRemove new attributes from tests
Matthias Clasen [Sun, 28 Jul 2019 15:00:29 +0000 (11:00 -0400)]
Remove new attributes from tests

Until we can depend on pango 1.44, these will
fail in ci. Partially reverts f1c7803f800588e

6 years agoAdd pango version checks
Matthias Clasen [Sun, 28 Jul 2019 14:50:14 +0000 (10:50 -0400)]
Add pango version checks

Seems the ci does not have pango 1.44 yet.

6 years agogl: Simplify glyph cache rendering
Matthias Clasen [Sun, 28 Jul 2019 13:53:10 +0000 (09:53 -0400)]
gl: Simplify glyph cache rendering

We are currently using a weird mix of pango and cairo,
but there is no need for us to go through a pango
renderer here; we can just use cairo directly.

6 years agogsk: Move text-related test out of ci
Matthias Clasen [Sun, 28 Jul 2019 13:35:37 +0000 (09:35 -0400)]
gsk: Move text-related test out of ci

These are too sensitive to rendering differences
between renderers to run reliably in ci, but we
still want to keep them around. In particular,
the big glyph tests are useful to exercise the
GL glyph cache.

6 years agoglyph cache: Upload large glyphs in lookup () directly
Timm Bäder [Sun, 28 Jul 2019 09:57:43 +0000 (11:57 +0200)]
glyph cache: Upload large glyphs in lookup () directly

Instead of relying on a texture id of 0, which can happen for other
reasons, e.g. when the glyph is being scaled too small.

Fixes part of #2046

6 years agoglyph cache: check glyphs for scaled size
Timm Bäder [Sun, 28 Jul 2019 08:58:10 +0000 (10:58 +0200)]
glyph cache: check glyphs for scaled size

We can't rely on just the ink_rect, since that might be without the
scaled applied, which is what ends up on the texture.

Fixes #2046

6 years agotextview: Remove some unnecessary gtk_widget_show() calls
Timm Bäder [Sat, 27 Jul 2019 07:19:26 +0000 (09:19 +0200)]
textview: Remove some unnecessary gtk_widget_show() calls

Widgets are visible by default.

6 years agoUpdate Catalan translation
Jordi Mas [Sat, 27 Jul 2019 23:05:25 +0000 (01:05 +0200)]
Update Catalan translation

6 years agoMerge branch 'overview-recursive-dependancy' into 'master'
Matthias Clasen [Sat, 27 Jul 2019 21:46:52 +0000 (21:46 +0000)]
Merge branch 'overview-recursive-dependancy' into 'master'

overview.xml: The GTK library does not depend on the GTK library

See merge request GNOME/gtk!1026

6 years agoUpdate Polish translation
Piotr Drąg [Sat, 27 Jul 2019 13:20:40 +0000 (15:20 +0200)]
Update Polish translation

6 years agoUpdate POTFILES.skip
Piotr Drąg [Sat, 27 Jul 2019 13:03:47 +0000 (15:03 +0200)]
Update POTFILES.skip

6 years agooverview.xml: The GTK library does not depend on the GTK library
Дилян Палаузов [Sat, 27 Jul 2019 10:23:01 +0000 (10:23 +0000)]
overview.xml: The GTK library does not depend on the GTK library

The documentation stated:

GTK is a library.…  GTK depends on the following libraries:

GTK       The GTK library itself contains widgets, that is, GUI
          components such as GtkButton or GtkTextView.

There is no point in stating, that the GTK library
depends on the GTK library.

6 years agowindow: Unroot with old display
Timm Bäder [Sat, 27 Jul 2019 05:57:06 +0000 (07:57 +0200)]
window: Unroot with old display

Things might rely on the old display being set while unrooting.

Fixes #2052

6 years agolabel: Parse new pango attributes
Matthias Clasen [Sat, 27 Jul 2019 04:02:08 +0000 (00:02 -0400)]
label: Parse new pango attributes

Support allow-breaks and show attributes.
These will be in pango 1.44

6 years agoMerge branch 'xdg-output-v3-gtk4' into 'master'
Matthias Clasen [Fri, 26 Jul 2019 17:13:39 +0000 (17:13 +0000)]
Merge branch 'xdg-output-v3-gtk4' into 'master'

wayland: Add xdg-output v3 support

See merge request GNOME/gtk!1022

6 years agowayland: Add xdg-output v3 support
Olivier Fourdan [Fri, 26 Jul 2019 15:07:58 +0000 (17:07 +0200)]
wayland: Add xdg-output v3 support

xdg-output v3 marks xdg-output.done as deprecated and compositors are
not required to send that event anymore.

So if the xdg-output version is 3 or higher, simply set the initial
value `xdg_output_done` to TRUE so we don't wait/expect that event
from the compositor.

https://gitlab.gnome.org/GNOME/gtk/issues/2053

6 years agoMerge branch 'wip/no-move-surface' into 'master'
Matthias Clasen [Fri, 26 Jul 2019 14:31:49 +0000 (14:31 +0000)]
Merge branch 'wip/no-move-surface' into 'master'

Remove surface moving APIs

See merge request GNOME/gtk!1016

6 years agogl renderer: Fix dx/dy handling on hidpi
Timm Bäder [Fri, 26 Jul 2019 14:27:39 +0000 (16:27 +0200)]
gl renderer: Fix dx/dy handling on hidpi

Fixes misplaced error squiggles in the node editor.

6 years agogl renderer: Rework transform handling
Timm Bäder [Fri, 26 Jul 2019 12:49:36 +0000 (14:49 +0200)]
gl renderer: Rework transform handling

Fix all the ref counting mishaps. Makes hidpi work again and without
memory leaks.

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Fri, 26 Jul 2019 11:31:46 +0000 (11:31 +0000)]
Update Indonesian translation

6 years agoUpdate Norwegian Bokmål translation
Kjartan Maraas [Fri, 26 Jul 2019 09:01:15 +0000 (09:01 +0000)]
Update Norwegian Bokmål translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 26 Jul 2019 07:18:25 +0000 (09:18 +0200)]
Updated Spanish translation

6 years agofont rendering demo: Make boxes optional
Matthias Clasen [Fri, 26 Jul 2019 04:30:36 +0000 (00:30 -0400)]
font rendering demo: Make boxes optional

6 years agofont rendering demo: Show unrounded extents
Matthias Clasen [Fri, 26 Jul 2019 03:35:09 +0000 (23:35 -0400)]
font rendering demo: Show unrounded extents

This makes more sense.

6 years agofont rendering: Show ink rect too
Matthias Clasen [Fri, 26 Jul 2019 02:06:34 +0000 (22:06 -0400)]
font rendering: Show ink rect too

6 years agoImprove the font rendering demo
Matthias Clasen [Thu, 25 Jul 2019 22:49:00 +0000 (18:49 -0400)]
Improve the font rendering demo

Show the pixel grid, extents, and baseline.

6 years agoMerge branch 'fontrendering-demo' into 'master'
Matthias Clasen [Thu, 25 Jul 2019 21:06:54 +0000 (21:06 +0000)]
Merge branch 'fontrendering-demo' into 'master'

Add a font rendering demo

See merge request GNOME/gtk!1019

6 years agoAdd a font rendering demo
Matthias Clasen [Fri, 27 Jul 2018 22:42:22 +0000 (18:42 -0400)]
Add a font rendering demo

This renders a magnified version of the text,
to make the effect of various font rendering options
more visible.

It also shows the phases of subpixel rendering,
if you have a recent pango and cairo.

6 years agotests: improve error handling
Matthias Clasen [Thu, 25 Jul 2019 17:48:52 +0000 (13:48 -0400)]
tests: improve error handling

6 years agogtk-demo: Fix a crash
Matthias Clasen [Thu, 25 Jul 2019 17:47:59 +0000 (13:47 -0400)]
gtk-demo: Fix a crash

6 years agoMerge branch 'gtk-4-add-TCRYPT-options-to-ask-password-dialog' into 'master'
Emmanuele Bassi [Thu, 25 Jul 2019 10:16:11 +0000 (10:16 +0000)]
Merge branch 'gtk-4-add-TCRYPT-options-to-ask-password-dialog' into 'master'

gtkmountoperation: Add TCRYPT options to the ask-password dialog

See merge request GNOME/gtk!263

6 years agogdk: Remove gdk_surface_move_resize() API
Jonas Ådahl [Mon, 15 Jul 2019 13:47:12 +0000 (15:47 +0200)]
gdk: Remove gdk_surface_move_resize() API

Windows/surface's aren't supposed to be explicitly moved by any external
part, so don't provide API for doing so. Usage throughout Gdk is
replaced by the corresponding backend variants.

6 years agogdk: Make backends implement move_to_rect()
Jonas Ådahl [Mon, 15 Jul 2019 09:35:24 +0000 (11:35 +0200)]
gdk: Make backends implement move_to_rect()

The generic layer still does the heavy lifting, leaving the backends
more or less just act as thin wrappers, dealing a bit with global
coordinate transformations. The end goal is to remove explicit surface
moving from the generic gdk layer.

6 years agogdk: Remove gdk_surface_move()
Jonas Ådahl [Mon, 15 Jul 2019 09:32:35 +0000 (11:32 +0200)]
gdk: Remove gdk_surface_move()

Generic gdk code now uses the internal helper; backends use their own
private implementations when necessary.

6 years agogdk/surface: Add toplevel_resize vfunc
Jonas Ådahl [Mon, 15 Jul 2019 08:54:44 +0000 (10:54 +0200)]
gdk/surface: Add toplevel_resize vfunc

To separate how toplevels and popups are configured, a first step is to
introduce a resize-only vfunc for backends to implement. It's meant to
only configure toplevel windows, i.e. popups. Currently it's used for
both types, but introducing the resize-only API is a first step.

6 years agoMerge branch 'avoid-redundant-attributes' into 'master'
Matthias Clasen [Wed, 24 Jul 2019 23:47:41 +0000 (23:47 +0000)]
Merge branch 'avoid-redundant-attributes' into 'master'

text layout: Avoid redundant text attributes

See merge request GNOME/gtk!1015

6 years agotext layout: Avoid redundant text attributes
Matthias Clasen [Wed, 24 Jul 2019 23:03:07 +0000 (19:03 -0400)]
text layout: Avoid redundant text attributes

Don't insert text attributes if the font, or scale
or fallback did not actually change. This helps
Pango avoid excessive item breaks, which in turn
helps shaping to work across things like color
changes.

Related: https://gitlab.gnome.org/GNOME/pango/issues/28

6 years agowayland: Cleanup surface configuration
Jonas Ådahl [Fri, 12 Jul 2019 13:54:32 +0000 (15:54 +0200)]
wayland: Cleanup surface configuration

Configuration should happen in response to the xdg_surface.configure
event, not in the events that preceeds it. Do this by making all
configured state pending until the committing "configure" event. Also
split up toplevel vs popup configuration in a more clear way.

6 years agowayland: Rename gdk_wayland_surface_configure to *_resize
Jonas Ådahl [Fri, 12 Jul 2019 13:24:18 +0000 (15:24 +0200)]
wayland: Rename gdk_wayland_surface_configure to *_resize

It only issues a resize; configuring should imply more state is
configured, e.g. maximized, etc.

6 years agotests: Remove obsolete props from popover2.ui
Jonas Ådahl [Fri, 5 Jul 2019 17:44:28 +0000 (19:44 +0200)]
tests: Remove obsolete props from popover2.ui

6 years agoMerge branch 'gtkapp-opening-str' into 'master'
Matthias Clasen [Wed, 24 Jul 2019 13:51:22 +0000 (13:51 +0000)]
Merge branch 'gtkapp-opening-str' into 'master'

Use commas to differentiate between text and filename

See merge request GNOME/gtk!1013

6 years agoUse commas to differentiate between text and filename
Jordi Mas [Wed, 24 Jul 2019 13:51:22 +0000 (13:51 +0000)]
Use commas to differentiate between text and filename

6 years agoMerge branch 'missing-gobject-annotation' into 'master'
Matthias Clasen [Wed, 24 Jul 2019 13:50:04 +0000 (13:50 +0000)]
Merge branch 'missing-gobject-annotation' into 'master'

Add nullable annotation to combo_box_text_get_active_text

See merge request GNOME/gtk!1012

6 years agopasswordentry: Normalize boolean value
Timm Bäder [Wed, 24 Jul 2019 06:10:37 +0000 (08:10 +0200)]
passwordentry: Normalize boolean value

6 years agopasswordentry: Remove empty vfunc implementation
Timm Bäder [Wed, 24 Jul 2019 06:10:26 +0000 (08:10 +0200)]
passwordentry: Remove empty vfunc implementation

6 years agotextlayout: Avoid querying CSS state if we don't have to
Timm Bäder [Mon, 22 Jul 2019 11:59:47 +0000 (13:59 +0200)]
textlayout: Avoid querying CSS state if we don't have to

This is actually pretty slow, and we almost never render a selection.

6 years agopopover: Remove some unnecessary checks
Timm Bäder [Sun, 21 Jul 2019 13:38:13 +0000 (15:38 +0200)]
popover: Remove some unnecessary checks

gtk_popover_move_resize() already checks whether the popover has a
surface.

6 years agoRemove a redundant vfunc
Matthias Clasen [Wed, 24 Jul 2019 03:26:58 +0000 (23:26 -0400)]
Remove a redundant vfunc

PangoRenderer has a perfectly adequate default
implementation of draw_glyphs, no need to duplicate that.

6 years agoAdd nullable annotation to combo_box_text_get_active_text
Ryan Westlund [Wed, 24 Jul 2019 02:09:06 +0000 (22:09 -0400)]
Add nullable annotation to combo_box_text_get_active_text

6 years agoMerge branch 'blink-later' into 'master'
Matthias Clasen [Wed, 24 Jul 2019 02:05:32 +0000 (02:05 +0000)]
Merge branch 'blink-later' into 'master'

Blink later

See merge request GNOME/gtk!1011

6 years agoMerge branch 'error-nodes' into 'master'
Matthias Clasen [Wed, 24 Jul 2019 01:39:37 +0000 (01:39 +0000)]
Merge branch 'error-nodes' into 'master'

Render error underlines as render nodes

See merge request GNOME/gtk!1009

6 years agotextview: Defer cursor blinking on input
Matthias Clasen [Wed, 24 Jul 2019 01:18:03 +0000 (21:18 -0400)]
textview: Defer cursor blinking on input

We were not calling the right cursor functions
in the commit handler.

6 years agotextview: Delay initial cursor blinking
Matthias Clasen [Wed, 24 Jul 2019 01:17:05 +0000 (21:17 -0400)]
textview: Delay initial cursor blinking

These changes follow the same changes for
gtktext.c in the previous commit.

6 years agotext: Delay initial cursor blinking
Matthias Clasen [Wed, 24 Jul 2019 01:08:47 +0000 (21:08 -0400)]
text: Delay initial cursor blinking

We used to have a solid cursor for 2/3 of the cycle,
now we start fading after 1/4th. To make up for it,
add half a cycle of delay.

6 years agoMerge branch 'wip/chergert/refcount-line-display' into 'master'
Matthias Clasen [Tue, 23 Jul 2019 22:44:59 +0000 (22:44 +0000)]
Merge branch 'wip/chergert/refcount-line-display' into 'master'

make GtkTextLineDisplay ref counted

See merge request GNOME/gtk!1010

6 years agoRender error underlines as render nodes
Matthias Clasen [Tue, 23 Jul 2019 21:21:16 +0000 (17:21 -0400)]
Render error underlines as render nodes

Use a sequence of transformed squares,
instead of a cairo node. The drawing is not
identical to the previous code, but reasonably
close.

6 years agotextlayout: remove use of gtk_text_layout_free_line_display
Christian Hergert [Tue, 23 Jul 2019 21:59:40 +0000 (14:59 -0700)]
textlayout: remove use of gtk_text_layout_free_line_display

Now that these are reference counted, we no longer need to use
the variant requiring access to the GtkTextLayout.

6 years agotextlayout: make GtkTextLineDisplay reference counted
Christian Hergert [Tue, 23 Jul 2019 21:52:14 +0000 (14:52 -0700)]
textlayout: make GtkTextLineDisplay reference counted

This makes GtkTextLineDisplay use GRcBox instead of g_slice_*
directly. By using reference counting for this structure, we
can ensure that we hold an extra ref for one_display_cache as
well as caching additional GtkTextLineDisplay for the visible
range in the future.

6 years agotext: Remove an outdated comment
Matthias Clasen [Tue, 23 Jul 2019 19:14:38 +0000 (15:14 -0400)]
text: Remove an outdated comment

6 years agofix the build
Matthias Clasen [Tue, 23 Jul 2019 18:26:32 +0000 (14:26 -0400)]
fix the build

6 years agoUpdate POTFILES.in
Piotr Drąg [Tue, 23 Jul 2019 17:47:43 +0000 (19:47 +0200)]
Update POTFILES.in

6 years agotext: Fix incomplete invalidation
Matthias Clasen [Tue, 23 Jul 2019 01:01:22 +0000 (18:01 -0700)]
text: Fix incomplete invalidation

When a style change affects the text, we need to
clear the cached content, in order to pick up the
new text style.

6 years agotext view: Fix incomplete invalidation
Matthias Clasen [Tue, 23 Jul 2019 00:42:25 +0000 (17:42 -0700)]
text view: Fix incomplete invalidation

Update the cached text style when a css change affects
content or background. This fixes text views drawing
black-on-dark when switching to the dark theme.

6 years agoUpdate Catalan translation
Jordi Mas [Mon, 22 Jul 2019 09:06:27 +0000 (11:06 +0200)]
Update Catalan translation

6 years agoMerge branch 'wip/chergert/fix-textlayout-bounds' into 'master'
Matthias Clasen [Mon, 22 Jul 2019 01:53:17 +0000 (01:53 +0000)]
Merge branch 'wip/chergert/fix-textlayout-bounds' into 'master'

textlayout: fix bounds for clipping

See merge request GNOME/gtk!1006

6 years agotextlayout: fix bounds for clipping
Christian Hergert [Mon, 22 Jul 2019 01:21:04 +0000 (18:21 -0700)]
textlayout: fix bounds for clipping

This should match gtk_snapshot_append_layout(), which means that we expect the
bounds to be rooted at 0, 0.

6 years agoMerge branch 'wip/textview' into 'master'
Matthias Clasen [Sun, 21 Jul 2019 23:10:41 +0000 (23:10 +0000)]
Merge branch 'wip/textview' into 'master'

textview: port GtkTextView to GskPangoRenderer

See merge request GNOME/gtk!1005

6 years agotext view: Smooth cursor blinking
Matthias Clasen [Sun, 21 Jul 2019 20:06:23 +0000 (13:06 -0700)]
text view: Smooth cursor blinking

Fade the text cursor in and out, instead
of abruptly turning it on and off.

6 years agotextview: port GtkTextView to GskPangoRenderer
Christian Hergert [Sun, 21 Jul 2019 01:25:51 +0000 (18:25 -0700)]
textview: port GtkTextView to GskPangoRenderer

This removes the use of GtkTextDisplay (a PangoRenderer) to use
the GskPangoRender which generates render nodes. Part of this means
improving the GskPangoRenderer to support the necessary features for
displaying a GtkTextView.

Primarily, this is a merging of GtkTextDisplay features into
GskPangoRender. Additionally, GtkTextDisplay was removed to allow for
gtk_text_layout_snapshot() to be implemented elsewhere.

6 years agotextview: Stop exporting private apis
Matthias Clasen [Sun, 21 Jul 2019 18:49:13 +0000 (11:49 -0700)]
textview: Stop exporting private apis

These headers are no longer 'semi-public, but private
and uninstalled, so exporting these functions does
not do any good.

6 years agogsk: Fix a crash in gsk_render_node_diff
Matthias Clasen [Sun, 21 Jul 2019 20:18:58 +0000 (13:18 -0700)]
gsk: Fix a crash in gsk_render_node_diff

The only thing worse than freeing the same
cairo region twice is freeing it three times.

6 years agotext: Smooth cursor blinking
Matthias Clasen [Sun, 21 Jul 2019 01:12:05 +0000 (18:12 -0700)]
text: Smooth cursor blinking

Fade the text cursor in and out, instead
of abruptly turning it on and off.

6 years agoAdwaita: Fix entry block cursors
Matthias Clasen [Sun, 21 Jul 2019 16:50:41 +0000 (09:50 -0700)]
Adwaita: Fix entry block cursors

6 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sun, 21 Jul 2019 18:02:07 +0000 (18:02 +0000)]
Update Basque translation

6 years agoUpdate Turkish translation
Serdar Sağlam [Sun, 21 Jul 2019 14:15:15 +0000 (14:15 +0000)]
Update Turkish translation

6 years agowindow: Plug a GList leak
Timm Bäder [Sun, 21 Jul 2019 09:08:45 +0000 (11:08 +0200)]
window: Plug a GList leak

We need to free the GList manually when using g_list_remove_link().

6 years agogtk.supp: Add glXQueryServerString exceptions
Timm Bäder [Sun, 21 Jul 2019 10:23:56 +0000 (12:23 +0200)]
gtk.supp: Add glXQueryServerString exceptions

6 years agogl renderer: Remove leftover modelview matrix
Timm Bäder [Sun, 21 Jul 2019 10:11:36 +0000 (12:11 +0200)]
gl renderer: Remove leftover modelview matrix

We use a GskTransform there nowadays.

6 years agoRevert "gl renderer: ops_set_modelview is (transfer full)"
Timm Bäder [Sun, 21 Jul 2019 10:43:00 +0000 (12:43 +0200)]
Revert "gl renderer: ops_set_modelview is (transfer full)"

This reverts commit e904c49e8aaebc266bac9024b13389e4521bbbaa.

This breaks HiDPI setups, i.e. setups where the call to
ops_set_modelview does not end up with a NULL transform.

6 years agowindow: Merge some functions into their only callers
Timm Bäder [Sun, 21 Jul 2019 08:52:12 +0000 (10:52 +0200)]
window: Merge some functions into their only callers

So it's clear we only add or remove the pointerfocus-es in
_update_pointer_focus.

6 years agocellrenderertext: Remove some unnecessary NULL checks
Timm Bäder [Sun, 21 Jul 2019 08:26:00 +0000 (10:26 +0200)]
cellrenderertext: Remove some unnecessary NULL checks

6 years agocellrenderertext: Don't unnecessarily ref a layout
Timm Bäder [Sun, 21 Jul 2019 08:22:05 +0000 (10:22 +0200)]
cellrenderertext: Don't unnecessarily ref a layout

We never pass a NULL layout to get_size().

6 years agotextlayout: Remove some outdated comments
Timm Bäder [Sun, 21 Jul 2019 08:02:30 +0000 (10:02 +0200)]
textlayout: Remove some outdated comments

These two members have been commented out for 19 years.

6 years agoentry: Measure icons again
Timm Bäder [Sun, 21 Jul 2019 07:58:08 +0000 (09:58 +0200)]
entry: Measure icons again

This was previously removed because it changes the minimum and natural
size of the entry when the icons are shown/hidden at runtime. Just not
measuring them does not work however, so reintroduce this.

6 years agoplacesview: Make "Other Locations" search case-insensitive
Timm Bäder [Sun, 21 Jul 2019 07:51:54 +0000 (09:51 +0200)]
placesview: Make "Other Locations" search case-insensitive

It's just weird to search for "c" and not find the list item labelled
"Computer".

6 years agolinedisplay: Save paragraph bg color inline
Timm Bäder [Sun, 21 Jul 2019 07:47:09 +0000 (09:47 +0200)]
linedisplay: Save paragraph bg color inline

No need to allocate this separately.

6 years agogtk.supp: Add a pixman_image_composite32 exception
Timm Bäder [Sun, 21 Jul 2019 07:13:24 +0000 (09:13 +0200)]
gtk.supp: Add a pixman_image_composite32 exception

6 years agogtk.supp: add a FcDefaultSubstitute exception
Timm Bäder [Sun, 21 Jul 2019 07:07:27 +0000 (09:07 +0200)]
gtk.supp: add a FcDefaultSubstitute exception

6 years agorendernodeparser: Fix a memory leak when parsing glyphs
Timm Bäder [Sun, 21 Jul 2019 07:06:50 +0000 (09:06 +0200)]
rendernodeparser: Fix a memory leak when parsing glyphs

6 years agorendernodeparser: Fix a memory leak when parsing textures
Timm Bäder [Sun, 21 Jul 2019 07:06:29 +0000 (09:06 +0200)]
rendernodeparser: Fix a memory leak when parsing textures

6 years agogl renderer: ops_set_modelview is (transfer full)
Timm Bäder [Sun, 21 Jul 2019 07:06:10 +0000 (09:06 +0200)]
gl renderer: ops_set_modelview is (transfer full)

regarding the passed modelview matrix

6 years agogl renderer: Pull out code from a loop
Timm Bäder [Sat, 20 Jul 2019 11:04:26 +0000 (13:04 +0200)]
gl renderer: Pull out code from a loop

Does not not actually depend on anything done inside the loop.

6 years agoUpdate Croatian translation
Goran Vidović [Fri, 19 Jul 2019 21:29:56 +0000 (21:29 +0000)]
Update Croatian translation

6 years agoUpdate Croatian translation
Goran Vidović [Fri, 19 Jul 2019 21:20:13 +0000 (21:20 +0000)]
Update Croatian translation

6 years agogl renderer: Replace a redundant function call
Timm Bäder [Fri, 19 Jul 2019 14:42:56 +0000 (16:42 +0200)]
gl renderer: Replace a redundant function call

We're already getting the radius from the node above.

6 years agofilechooserwidget: Fold function into only caller
Timm Bäder [Fri, 19 Jul 2019 08:14:54 +0000 (10:14 +0200)]
filechooserwidget: Fold function into only caller

6 years agofilechooserwidget: Don't emit default-size-changed() in unroot()
Timm Bäder [Fri, 19 Jul 2019 07:59:17 +0000 (09:59 +0200)]
filechooserwidget: Don't emit default-size-changed() in unroot()

It doesn't make much sense to assume the default size has changed just
because the widget has been unrooted.

6 years agofilechooser: Remove SETTINGS_KEY_WINDOW_POSITION
Timm Bäder [Fri, 19 Jul 2019 07:55:11 +0000 (09:55 +0200)]
filechooser: Remove SETTINGS_KEY_WINDOW_POSITION

Now unused.

6 years agofilechooserwidget: Don't look at saved window position
Timm Bäder [Fri, 19 Jul 2019 07:54:30 +0000 (09:54 +0200)]
filechooserwidget: Don't look at saved window position

We don't save it anymore so no need to look at it here.